Vcenter Vcha Ipv4Spec

Vcenter Vcha Ipv4Spec
Vcenter Vcha Ipv4Spec

The Vcenter Vcha Ipv4Spec schema contains IPV4 information used to configure a network interface.

This schema was added in vSphere API 6.7.1.

JSON Example
{
    "address": "string",
    "subnet_mask": "string",
    "prefix": 0
}
string
address
Required

IPV4 address to be used to configure the interface.

This property was added in vSphere API 6.7.1.

string
subnet_mask
Optional

The subnet mask for the interface.

This property was added in vSphere API 6.7.1.

If missing or null and the prefix property is missing or null, then an error will be reported.
If missing or null and the prefix property is set, then the prefix property will be used to create a subnet mask whose first prefix bits are 1 and the remaining bits 0.
If both the subnet_mask property and the prefix property are set and they do not represent the same value, then an error will be reported.

integer As int64 As int64
prefix
Optional

The CIDR prefix for the interface.

This property was added in vSphere API 6.7.1.

If missing or null and the subnet_mask property is missing or null, this an error will be reported.
If missing or null and the subnet_mask property is set, then the subnet_mask property will be used.
If both the subnet_mask property and the prefix property are set and they do not represent the same value, then an error will be reported.